package com.nonintrusive.client;

public class Question {
	public String message;
	public String tags;
	public String answer1;
	public String answer2;
	public String answer3;
	public String answer4;
	public String answer5;
	public int id;
	public boolean isMine;
	public boolean isAnswered;

	public int chosenAnsw = -1;

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + (int) (id ^ (id >>> 32));
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Question other = (Question) obj;
		if (id != other.id)
			return false;
		return true;
	}

}
